<!-- 
    @author Wójcik Karol <wojcikk@student.agh.edu.pl>
    @licence http://www.gnu.org/copyleft/gpl.html GNU/GPL
-->

<center>
<%= start_form_tag :action=> "login" %>
<%= stylesheet_link_tag 'default' %>

<div title="Account login" id="loginform" class="form">
     <table height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
        <tbody>
        <tr>
          <td align=center><br>
            <br>
               <table width="314" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td colspan="3" >
		
		<% if @message %>
		    <img src="/images/log_img_err.gif" width="314" height="68"/>
		<% else %> 
		    <img src="/images/log_img.gif" width="314" height="68"/>
		 <% end %>
		
		</td>
                </tr>
              <tr>
                <td width="1" bgcolor="#333366"></td>
                <td width="312"><p>&nbsp;</p>
                    <TABLE cellSpacing=0 cellPadding=0 border=0>
                      <TR>
                        <TD width="40" noWrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
			<TD noWrap><label for="user_login">&nbsp; login &nbsp;</label></TD>
                        <TD noWrap><input class="log" type="text" name="user_login" id="user_login" size="20" value=""/></TD>
                        </TD>
                        <TD align=right noWrap>&nbsp;</TD>
                      </TR>
                      <TR>
                        <TD noWrap>&nbsp;</TD>
                        <TD noWrap><label for="user_password">&nbsp; pass &nbsp;</label></TD>
			<TD noWrap><input class="log" type="password" name="user_password" id="user_password" size="20"/>
                        </TD>
                        <TD noWrap align=right>&nbsp;&nbsp;<input type="image" src="/images/log_button.gif"  name="login" value="Login &#187;" class="primary" /></TD>
                      </TR>
                    </TABLE>
                  <p>&nbsp;</p></td>
                <td width="1" bgcolor="#333366"><img src="/images/spacer.gif" width="1" height="1"></td>
              </tr>
              <tr>
                <td colspan="3" bgcolor="#333366"><img src="/images/spacer.gif" width="1" height="1"></td>
                </tr>
            </table>
            <strong style="font-size : 15px;">System Planowania Zaj&#281;&#263; IISG</strong>
       </td></tr></tbody></table>
</div>

<%= end_form_tag %>

</center>